//
//  DetailPraiseAndLookCell.m
//  shise
//
//  Created by 徐国庆 on 14/12/24.
//  Copyright (c) 2014年 MZP. All rights reserved.
//

#import "DetailPraiseAndLookCell.h"

@implementation DetailPraiseAndLookCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
    
        self.praiseAndLookLabel = [[UILabel alloc] init];
        self.praiseAndLookLabel.font = [UIFont systemFontOfSize:13];
        self.praiseAndLookLabel.alpha = 0.5;
        [self.contentView addSubview:self.praiseAndLookLabel];
        [self.praiseAndLookLabel release];
        
        self.praiseScrollView = [[UIScrollView alloc] init];
        [self.contentView addSubview:self.praiseScrollView];
        [self.praiseScrollView release];
    
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.praiseAndLookLabel.frame = CGRectMake(15, 10, self.contentView.frame.size.width - 10, 15);
    self.praiseScrollView.frame = CGRectMake(5, 30, 5000, 40);
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)dealloc
{
    [_praiseAndLookLabel release];
    [_praiseScrollView release];
    [super dealloc];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
